package yto.freemarker.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import zipkin.server.EnableZipkinServer;

@SpringBootApplication
@EnableZipkinServer   //收集spans,通过zipkin-UI查询
@EnableEurekaClient
public class ServerTraceZipkinApplication {


    public static void main(String[] args) {
        SpringApplication.run(ServerTraceZipkinApplication.class, args);
    }
}
